namespace SiemensAmd.Mmt.DevQt
{
	public class ToolDeviceCacheUnionEntity : ToolDeviceCacheEntity
	{
		public string MagIdent { get; set; }

		public int MagKind { get; set; }

		public string MagKindDescribe => this.MagKind switch
		{
			1 => "链式刀库", 
			3 => "塔式刀库", 
			5 => "平面刀库", 
			7 => "内部刀库", 
			9 => "内部加载站", 
			_ => this.MagKind.ToString(), 
		};

		public int MagDim { get; set; }

		public int MagDim2 { get; set; }

		public int MagNrPlaces { get; set; }

		public long ConfigId { get; set; }

		public double LengthMin { get; set; }

		public double LengthMax { get; set; }

		public double RadiusMin { get; set; }

		public double RadiusMax { get; set; }

		public bool PlaceValid { get; set; }

		public int ToolId { get; set; }

		public string RfidCode { get; set; }
	}
}
